﻿using System;

namespace Affinity.Flux
{
    /// <summary>
    /// Enumeration of flags that may be applied to an inlet.
    /// </summary>
    [Flags]
    public enum InletFlags
    {
        /// <summary>
        /// No flags.
        /// </summary>
        None = 0,

        /// <summary>
        /// The inlet must receive data or execution on the UI thread. When needed, dispatching is used to ensure this happens.
        /// </summary>
        ReceiveOnUIThread = 1
    }
}
